package org.example.javademo.test08.demo3;


/**
 * 铁玉门
 * @author gwf
 * @date 2025-03-04
 */
public class IronJadeGate extends Door implements AntiBells,Exorcism{
    public void open(){

        System.out.println("铁玉门打开");
    }
    public void close(){

        System.out.println("铁玉门关闭");
    }
    @Override
    public void exorcism() {
        System.out.println("铁玉门发出辟邪光芒!");
    }

    @Override
    public void antiBells() {
        System.out.println("铁玉门发出警报!");
    }
}
